package com.qfedu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @version 1.0
 * 公众号：Java架构栈
 * @Author: 卓不凡
 */
@Data
@TableName("tb_user")
public class User {
    @TableId(type = IdType.AUTO) //主键自增长
    private int id;
    @TableField("user_name")
    private String username;
    private String password;
    private String name;
    private int age;
    private String email;


}